/**   
 * 项目名：五位一体化工安全信息平台
 * 日期：    2019-12-06 15:05:44  
 * Copyright (c) 2015- joysuch-版权所有     
 */

package com.joysuch.wwyt.bp.service;

import com.joysuch.wwyt.bp.bean.BpWorkSafetyApplyFireAddBean;
import com.joysuch.wwyt.bp.bean.BpWorkSafetyApplyFireEditBean;
import com.joysuch.wwyt.bp.bean.BpWorkSafetyApplyFireListBean;
import com.joysuch.wwyt.bp.bean.BpWorkSafetyApplyFireListSearchBean;
import com.joysuch.wwyt.bp.entity.BpWorkSafetyApplyFire;
import com.joysuch.wwyt.core.exception.BusinessRestrictionsException;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface BpWorkSafetyApplyFireService {

   // public BpWorkSafetyApplyFire add(BpWorkSafetyApplyFireAddBean entity) throws Exception;

  //  void update(BpWorkSafetyApplyFireAddBean entity) throws Exception;

    Page<BpWorkSafetyApplyFireListBean> findByPage(Pageable page, BpWorkSafetyApplyFireListSearchBean condition);

    void delete(Long id) throws BusinessRestrictionsException;

    BpWorkSafetyApplyFire findById(Long id);

    /**
     * 查看动火作业证详情
     * 
     * @param id
     *            id
     * @return
     */
   // public BpWorkSafetyApplyFireEditBean findDetailById(Long id);
}
